/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.service.impl;

import java.util.List;

import com.sasis.service.impl.BaseManager;
import com.sasis.model.VipServiceBoardingcheck;
import com.sasis.dao.VipServiceBoardingcheckDao;
import com.sasis.service.VipServiceBoardingcheckManager;

import com.sasis.util.PageList;
import com.sasis.util.PageRequest;

public class VipServiceBoardingcheckManagerImpl extends BaseManager implements VipServiceBoardingcheckManager {
    private VipServiceBoardingcheckDao dao;

    /**
     * Set the Dao for communication with the data layer.
     * @param dao
     */
    public void setVipServiceBoardingcheckDao(VipServiceBoardingcheckDao dao) {
        this.dao = dao;
    }

    /**
     * @see com.sasis.service.VipServiceBoardingcheckManager#getVipServiceBoardingchecks(com.sasis.model.VipServiceBoardingcheck)
     */
    public List getVipServiceBoardingchecks(final VipServiceBoardingcheck vipServiceBoardingcheck) {
        return dao.getVipServiceBoardingchecks(vipServiceBoardingcheck);
    }

    /**
     * @see com.sasis.service.VipServiceBoardingcheckManager#getVipServiceBoardingcheck(String id)
     */
    public VipServiceBoardingcheck getVipServiceBoardingcheck(final String id) {
        return dao.getVipServiceBoardingcheck(new Integer(id));
    }

    /**
     * @see com.sasis.service.VipServiceBoardingcheckManager#saveVipServiceBoardingcheck(VipServiceBoardingcheck vipServiceBoardingcheck)
     */
    public int saveVipServiceBoardingcheck(VipServiceBoardingcheck vipServiceBoardingcheck) {
    	return dao.saveVipServiceBoardingcheck(vipServiceBoardingcheck);
    }

    /**
     * @see com.sasis.service.VipServiceBoardingcheckManager#removeVipServiceBoardingcheck(String id)
     */
    public void removeVipServiceBoardingcheck(VipServiceBoardingcheck vipServiceBoardingcheck) {
        dao.removeVipServiceBoardingcheck( vipServiceBoardingcheck);
    }
    public PageList queryForPageList(String listStatementId,  
    		Object parameterObject, PageRequest pageRequest){
	return dao.queryForPageList(listStatementId,   parameterObject, pageRequest);
    }
}
